package com.ruoyi.bigscreen.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Document(indexName = "tm_personnel")
@TableName(value = "tm_personnel")
@Data
public class TmPersonnel {

  @Id
  @TableField(value = "id")
  private String id;
  @TableField(value = "personnel_id")
  private String personnelId;
  @Field(type = FieldType.Text, analyzer = "ik_smart",store = false,index = true,searchAnalyzer = "ik_smart")
  @TableField(value = "personnel_name")
  private String personnelName;
  @TableField(value = "personnel_camp")
  private String personnelCamp;
  @TableField(value = "personnel_role")
  private String personnelRole;
  @TableField(value = "update_time")
  private java.sql.Timestamp updateTime;
  @Field(type = FieldType.Text, analyzer = "ik_smart",store = false,index = true,searchAnalyzer = "ik_smart")
  @TableField(value = "personnel_descr")
  private String personnnelDescr;
  @TableField(value = "create_Time")
  private java.sql.Timestamp createTime;

}
